﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditSite.aspx.cs" Inherits="Cms.Web.UI.Admin.EditSite" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="buttons" runat="server">
    <asp:LinkButton ID="lbSave" runat="server" OnClick="lbSave_Click" CssClass="orangeButton"><span><span><img src="Admin/Img/icons/disk.png" alt="" /><span><cms:LocalizedLiteral ID="llSave" runat="server" /></span></span></span></asp:LinkButton>
    <a href="Admin/Sites.aspx" class="orangeButton"><span><span><img src="Admin/Img/icons/delete.png" alt="" /><span><cms:LocalizedLiteral ID="llCancel" runat="server" /></span></span></span></a>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="body" runat="server">
    <asp:Literal ID="litIcon" runat="server" Visible="false" Text="Admin/Img/Icons/house_edit.png" />
    <table class="editForm">
        <tr>
            <td width="200"><cms:LocalizedLiteral ID="llDomain" runat="server" />:</td>
            <td><asp:TextBox ID="txtDomain" Runat="server" Width="300" /></td>
        </tr>
    </table>
    <asp:Panel ID="pnlDefaultLocale" runat="server">
        <div class="horizontalDivider" style="margin-bottom: 0px; margin-top: 10px;"></div>
        <table class="editForm">
            <tr>
                <td colspan="2"><p><cms:LocalizedLiteral ID="llDefaultLocaleHeader" runat="server" />:</p></td>
            </tr>
            <tr>
                <td width="200"><cms:LocalizedLiteral ID="llDefaultLocaleName" runat="server" />:</td>
                <td><asp:TextBox ID="txtDefaultLocaleName" Runat="server" /></td>
            </tr>
            <tr>
                <td><cms:LocalizedLiteral ID="llDefaultLocaleRegion" runat="server" />:</td>
                <td><asp:TextBox ID="txtDefaultLocaleRegion" Runat="server" /></td>
            </tr>
            <tr>
                <td><cms:LocalizedLiteral ID="llDefaultLocaleLanguage" runat="server" />:</td>
                <td><asp:TextBox ID="txtDefaultLocaleLanguage" Runat="server" /></td>
            </tr>
            <tr>
                <td><cms:LocalizedLiteral ID="llDefaultLocaleCode" runat="server" />:</td>
                <td><asp:TextBox ID="txtDefaultLocaleCode" Runat="server" Width="40" /></td>
            </tr>
        </table>
        <div class="horizontalDivider" style="margin-bottom: 10px; margin-top: 10px;"></div>
    </asp:Panel>
    <table class="editForm">
        <tr>
            <td width="200"><cms:LocalizedLiteral ID="llRootMediaFolder" runat="server" />:</td>
            <td><asp:TextBox ID="txtRootMediaFolder" Runat="server" /></td>
        </tr>
        <tr>
            <td><cms:LocalizedLiteral ID="llOnline" runat="server" />:</td>
            <td><asp:CheckBox ID="chkOnline" Runat="server" /></td>
        </tr>        
        <tr id="trDefaultLocale" runat="server">
            <td><cms:LocalizedLiteral ID="llDefaultLocale" runat="server" />:</td>
            <td><asp:DropDownList ID="ddlLocales" runat="server" /></td>
        </tr>        
        <tr id="trDefaultMasterTemplate" runat="server">
            <td><cms:LocalizedLiteral ID="llDefaultMasterTemplate" runat="server" />:</td>
            <td><asp:DropDownList ID="ddlMasterTemplates" runat="server" /></td>
        </tr>        
        <tr id="trDefaultDetailTemplate" runat="server">
            <td><cms:LocalizedLiteral ID="llDefaultDetailTemplate" runat="server" />:</td>
            <td><asp:DropDownList ID="ddlDetailTemplates" runat="server" /></td>
        </tr>        
        <tr id="trAdministrators" runat="server">
            <td><cms:LocalizedLiteral ID="llAdministrators" runat="server" />:</td>
            <td>
                <table>
                    <ilib:iRepeater ID="rpAdministrators" runat="server" Columns="3" OnItemDataBound="rpAdministrators_ItemDataBound">
                        <HeaderTemplate><tr></HeaderTemplate>
                        <ItemTemplate>
                            <td style="padding: 0px;"><asp:CheckBox ID="chkAdministrator" runat="server" /></td><td width="160" style="cursor: default;" onclick="this.previousSibling.childNodes[0].checked = !(this.previousSibling.childNodes[0].checked);"><asp:Literal ID="litAdministrator" runat="server" /></td>
                        </ItemTemplate>
                        <NewRowTemplate></tr><tr></NewRowTemplate>
                        <FooterTemplate></tr></FooterTemplate>
                    </ilib:iRepeater>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
